package com.linln.modules.activityticket.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.activityticket.domain.ActivityTicket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
* @Project: timo
* @Package com.linln.modules.activityticket.repository
* @Descriptio
/**
* @Project: timo
* @Package com.linln.modules.activityticket.repository
* @Description: TODO
* @author : pengliang
* @date Date : 2020年12月23日 15:51
* @version V1.0
*/

@Mapper
@Component
public interface ActivityTicketMapper extends BaseMapper<ActivityTicket> {

    //查询活动券
    List<ActivityTicket> selectActivity(@Param("activityTicketName") String activityTicketName);

    //查询赠送活动券
    List<ActivityTicket> selectCanGiveActivity();

    //购买积分服务
    int buyIntegralService(String at_id);
}
